﻿<Application x:Class="UpdaterAppWPF.App"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:y="clr-namespace:UpdaterAppWPF"
             StartupUri="CheckInitialSettings.xaml">
    <Application.Resources>
        <Style x:Key="ItemStyle" TargetType="{x:Type ListBox}" >
            <!-- Set the ItemTemplate of the ListBox to a DataTemplate which
           explains how to display an object of type BitmapImage. -->
            <Setter Property="ItemTemplate">
                <Setter.Value>
                    <DataTemplate>
                        <y:ListItemWPF OpenFileName="{Binding Path= OpenFileName}" />
                    </DataTemplate>
                </Setter.Value>
            </Setter>
        </Style>
    </Application.Resources>
</Application>
